package com.ruoyi.guarantee.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出函机构对象 b_letter
 *
 * @author ruoyi
 * @date 2024-12-09
 */
public class BLetter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 机构 */
    @Excel(name = "机构")
    private String institution;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 收件人 */
    @Excel(name = "收件人")
    private String recipient;

    /** 收件人电话 */
    @Excel(name = "收件人电话")
    private String recipientPhone;

    /** 收件地址 */
    @Excel(name = "收件地址")
    private String address;

    /** 收款账号 */
    @Excel(name = "收款账号")
    private String bankAccount;

    /** 收款账号2 */
    @Excel(name = "收款账号2")
    private String bankAccount2;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInstitution(String institution)
    {
        this.institution = institution;
    }

    public String getInstitution()
    {
        return institution;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setRecipient(String recipient)
    {
        this.recipient = recipient;
    }

    public String getRecipient()
    {
        return recipient;
    }
    public void setRecipientPhone(String recipientPhone)
    {
        this.recipientPhone = recipientPhone;
    }

    public String getRecipientPhone()
    {
        return recipientPhone;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setBankAccount(String bankAccount)
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount()
    {
        return bankAccount;
    }
    public void setBankAccount2(String bankAccount2)
    {
        this.bankAccount2 = bankAccount2;
    }

    public String getBankAccount2()
    {
        return bankAccount2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("institution", getInstitution())
                .append("name", getName())
                .append("phone", getPhone())
                .append("status", getStatus())
                .append("recipient", getRecipient())
                .append("recipientPhone", getRecipientPhone())
                .append("address", getAddress())
                .append("bankAccount", getBankAccount())
                .append("bankAccount2", getBankAccount2())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
